package com.taxinfo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.taxinfo.pojo.dto.AssetAndLibDto;
import com.taxinfo.pojo.vo.AssetAndLib;
import com.taxinfo.pojo.vo.AssetAndLib;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wanghy
 * @since 2025-01-20
 */
@Repository
public interface AssetAndLibMapper extends BaseMapper<AssetAndLib> {
    /**
     * 查询所有数据
     * @return
     */
    List<AssetAndLibDto> selectAllData(String id);

    /**
     * 查询所有数据
     * @return
     */
    List<AssetAndLibDto> selectDataByParentId(String id);

    List<AssetAndLibDto> selectLastDataInfo(String decYear);
}
